Repository navigation
feat: Add Raw SQL Chart support to external dashboard APIs - #1877
Conversation
🦋 Changeset detectedLatest commit: 804a484 The changes in this PR will be included in the next version bump. This PR includes changesets to release 3 packages
Not sure what this means? Click here to learn what changesets are. Click here if you're a maintainer who wants to add another changeset to this PR |
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
Code ReviewPR: feat: Add Raw SQL Chart support to external dashboard APIs
Conversion logic to/from RawSqlSavedChartConfig looks correct, type safety is well-enforced with satisfies, and test coverage is thorough. |
PR Review: feat: Add Raw SQL Chart support to external dashboard APIs
|
803b1f4 to
3f30169
Compare
PR Review: feat: Add Raw SQL Chart support to external dashboard APIsOverall the implementation is solid — correct ownership validation, good test coverage, clean separation of builder vs. raw-SQL paths. A couple of items worth addressing:
✅ Security check (cross-team connection ownership via |
PR Review: feat: Add Raw SQL Chart support to external dashboard APIs✅ No critical issues found. The implementation is solid:
One minor note: the 🤖 Generated with Claude Code |
E2E Test Results✅ All tests passed • 88 passed • 3 skipped • 892s
Tests ran across 4 shards in parallel. |
PR Review
✅ Security looks solid: cross-team |
489879f to
6c3c4dc
Compare
## Summary This PR adds support for Raw SQL Charts to the external dashboards APIs. ### Screenshots or video <img width="2294" height="1180" alt="Screenshot 2026-03-10 at 1 25 16 PM" src="https://github.com/user-attachments/assets/1f35bbe9-2558-43fa-8cc4-148af75042c5" /> ### How to test locally or on Vercel - `yarn dev` locally - Grab your Personal API Key from Team Settings - Make a request to the dashboard endpoints ``` curl http://localhost:8000/api/v2/dashboards -H "Authorization: Bearer <Key>" -H "Content-Type: application/json" ``` Schema is available at [`http://localhost:8000/api/v2/docs/#/`](http://localhost:8000/api/v2/docs/#/) ### References - Linear Issue: HDX-3582 HDX-3585 - Related PRs: #1866, #1875
Summary
This PR adds support for Raw SQL Charts to the external dashboards APIs.
Screenshots or video
How to test locally or on Vercel
yarn devlocallySchema is available at
http://localhost:8000/api/v2/docs/#/References